package com.frejoys.common.vo.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.checkerframework.checker.units.qual.A;

import java.math.BigDecimal;

@Data
public class OrderGoodsListVo {

    @Schema(type = "Integer", name = "id", description = "id")
    private Integer id;

    // 订单编号
    @Schema(type = "Long", name = "orderSn", description = "订单编号")
    private Long orderSn;

    @Schema(type = "Integer", name = "goodsId", description = "商品id")
    private Integer goodsId;

    @Schema(type = "String", name = "goodsName", description = "商品名字")
    private String goodsName;

    @Schema(type = "String", name = "coverUrl", description = "商品封面图")
    private String coverUrl;

    @Schema(type = "BigDecimal", name = "price", description = "单价，现价，单位分")
    private BigDecimal price;

    @Schema(type = "BigDecimal", name = "priceTotal", description = "总价，单位分")
    private BigDecimal priceTotal;

    @Schema(type = "Integer", name = "num", description = "数量")
    private Integer num;


}
